Skip to content

Fix -updateRCUSchemaPassword failed when it has new custom datasource #876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 26, 2021

Conversation

jshum2479
Copy link
Member

This fixes the failure when updating a jrf domain's rcu password but at the same time adding a new datasource.

…l but at the same time there is a new datasource
@@ -54,6 +54,12 @@ def update_rcu_password(self):
for ds_name in ds_names:
location = deployer_utils.get_jdbc_driver_params_location(ds_name, self.aliases)
password_location = LocationContext(location)
list_path = self.aliases.get_wlst_list_path(location)
if not self.wlst_helper.path_exists(list_path):
# For update case when a new custom data source has not be persisted
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"data source has not be persisted" => "data source has not been persisted"

@ddsharpe ddsharpe merged commit 4524fe8 into master Apr 26, 2021
@ddsharpe ddsharpe deleted the rcuschemaupdate2 branch April 26, 2021 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants